//调用接口配置文件
import { request } from 'config/request'
// 定义接口

//接收类型
export async function exportConlog(params) {
    return request({
        url: 'admin/loginLog/export/excel',
        method: 'POST',
        data: params
    });
};
//城市与区域级联
export async function regionArea(params) {
    // console.log(params)
    return request({
        url: `admin/qrcode/region/area/tree/get`,
        method: 'GET',
        data: params,
        headers:{
            "Content-type":"application/json",
        }
    });
};
//项目
export async function queryProject(params) {
    // console.log(params)
    return request({
        url: `admin/customer/productByCityName/${params}`,
        method: 'GET',
        data: params,
        headers:{
            "Content-type":"application/json",
        }
    });
};
//查询坐标点
export async function locationServ(params) {
    // console.log(params)
    return request({
        url: `admin/customer/map`,
        method: 'POST',
        data: params,
        headers:{
            "Content-type":"application/json",
        }
    });
};